﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true"
    CodeBehind="FacilityDetail.aspx.cs" Inherits="MockPrjTeam1.Pages.Forms.FacilityDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">

    <style type="text/css">
        .styletd
        {
            height: 50px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="templatemo_main">
        <div>
            <asp:Label ID="Label1" Text="Facility Detail" Font-Size="Large" ForeColor="Green"
                runat="server"></asp:Label>
            <table width="970px" style="font-size: 14px; font-family: Arial">
                <tr>
                    <td class="styletd">
                        Facility Type
                        <asp:Label ID="Label2" runat="server" ForeColor="Red" Text="*"></asp:Label>
                        &nbsp;&nbsp;
                    </td>
                    <td class="styletd">
                        <br />
                        <asp:DropDownList ID="DrDFacilityType" runat="server" TabIndex="1" CssClass="textbox">
                            <asp:ListItem></asp:ListItem>
                            <asp:ListItem Value="1"> 1 </asp:ListItem>
                            <asp:ListItem Value="A"> A </asp:ListItem>
                            <asp:ListItem Value="ABC"> ABC </asp:ListItem>
                            <asp:ListItem Value="F"> F </asp:ListItem>
                            <asp:ListItem Value="M"> M </asp:ListItem>
                            <asp:ListItem Value="Q"> Q </asp:ListItem>
                            <asp:ListItem Value="U"> U </asp:ListItem>
                            <asp:ListItem Value="Y"> Y </asp:ListItem>
                        </asp:DropDownList>
                        <br />
                        <asp:RequiredFieldValidator ID="reqFacilityType" runat="server" ControlToValidate="DrDFacilityType"
                            ErrorMessage="Please select Facility Type" ForeColor="Red" BackColor="Transparent"></asp:RequiredFieldValidator>
                    </td>
                    <td class="styletd">
                        Lead Contact
                    </td>
                    <td class="styletd">
                        <asp:TextBox ID="txtLeadContact" runat="server" ReadOnly="true" CssClass="textbox"></asp:TextBox>
                        <asp:HiddenField ID="hdfContact" runat="server"/>
                        <a href='#' onclick="javascript:window.open('/Pages/Views/LookupContact.aspx?Look=1&id1=<%=txtLeadContact.ClientID %>&id2=<%=hdfContact.ClientID %>')"
                            style="color: Blue">Lookup</a>
                    </td>
                </tr>
                <tr>
                    <td class="styletd">
                        Facility Description
                        <asp:Label ID="Label3" runat="server" ForeColor="Red" Text="*"></asp:Label>
                    </td>
                    <td class="styletd">
                        <asp:TextBox ID="txtFacilityDescription" runat="server" TabIndex="2" CssClass="textbox"
                            Height="70px" TextMode="MultiLine"></asp:TextBox>
                        <br />
                        <asp:RequiredFieldValidator ID="ReqFacilityDes" runat="server" ControlToValidate="txtFacilityDescription"
                            BorderColor="Red" ErrorMessage="Please enter Facility Description" ForeColor="Red"></asp:RequiredFieldValidator>
                    </td>
                    <td class="styletd">
                        Room Host
                    </td>
                    <td class="styletd">
                        <asp:TextBox ID="txtRoomHost" runat="server" CssClass="textbox" ReadOnly="true"></asp:TextBox>
                        <asp:HiddenField ID="hdfRoomHost" runat="server"/>
                        <a href='#' onclick="javascript:window.open('/Pages/Views/LookupContact.aspx?Look=1&id1=<%=txtRoomHost.ClientID %>&id2=<%=hdfRoomHost.ClientID %>')" style="color: Blue">
                            Lookup</a>
                    </td>
                </tr>
                <tr>
                    <td class="styletd">
                        Capacity
                    </td>
                    <td class="styletd">
                        <asp:TextBox ID="txtCapacity" runat="server" TabIndex="3" CssClass="textbox"></asp:TextBox>
                    </td>
                    <td class="styletd">
                        Equipment Available
                    </td>
                    <td class="styletd">
                        <asp:CheckBox ID="ckbEquipmentAvailable" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td class="styletd">
                        Room Size
                    </td>
                    <td class="styletd">
                        <asp:TextBox ID="txtRoomSize" runat="server" TabIndex="4" CssClass="textbox"></asp:TextBox>
                    </td>
                    <td class="styletd" rowspan="3">
                        Room & Requipment Notes
                    </td>
                    <td class="styletd" rowspan="3">
                        <asp:TextBox ID="txtRoomReqipmentNotes" runat="server" TabIndex="12" CssClass="textbox"
                            Height="100px" TextMode="MultiLine"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="styletd">
                        Room Connectivity
                    </td>
                    <td class="styletd">
                        <asp:CheckBox ID="ckbRoomConnectivity" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td class="styletd ">
                        Connectivity Type
                    </td>
                    <td class="styletd">
                        <asp:DropDownList ID="DrDConnectivityType" runat="server" CssClass="textbox">
                            <asp:ListItem></asp:ListItem>
                            <asp:ListItem Value="A"> A </asp:ListItem>
                            <asp:ListItem Value="B"> B </asp:ListItem>
                            <asp:ListItem Value="C"> C </asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="styletd">
                        Wireless Access Information
                    </td>
                    <td class="styletd">
                        <asp:TextBox ID="txtWireless" runat="server" CssClass="textbox"></asp:TextBox>
                    </td>
                    <td class="styletd">
                        Is Active?
                    </td>
                    <td class="styletd">
                        <asp:CheckBox ID="ckbActive" runat="server" Checked="true" />
                    </td>
                </tr>
                <tr>
                    <td class="style3">
                        <center>
                            &nbsp;&nbsp;&nbsp;
                            <asp:Button ID="btnSave" runat="server" Text="Save" Width="65px" Height="25px" TabIndex="16"
                                OnClick="btnSave_Click" /></center>
                    </td>
                    <td>
                       <asp:Button ID="btnBack" Text="Back" runat="server" OnClick="btnBack_Click" Width="65px" Height="25px" />
                       <%-- <input type="button" value="Back" onclick="btnBack_Click()" style="width: 65px; height: 25px;" />--%>
                    </td>
                </tr>
            </table>
        </div>
        <p>
        </p>
    </div>
</asp:Content>
